package com.biboheart.brick.datetime;

import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * 时间单位枚举
 */
@Getter
@RequiredArgsConstructor
public enum BhDateUnit {
    DATE_UNIT_YEAR("year", "年"),
    DATE_UNIT_MONTH("month", "月"),
    DATE_UNIT_DAY("day", "日"),
    DATE_UNIT_HOUR("hour", "时"),
    DATE_UNIT_MINUTE("minute", "分"),
    DATE_UNIT_SECOND("second", "秒"),
    DATE_UNIT_MILLISECOND("millisecond", "毫秒"),
    DATE_UNIT_WEEK("week", "周"),
    DATE_UNIT_QUARTER("quarter", "季度"),
    ;
    private final String unit;
    private final String desc;
}
